export default {
  options(h, conf, key) {
    const list = []
    conf.__slot__.options.forEach(item => {
      let val = item.value
      if(typeof item.value === 'undefined' || item.value === null || item.value === '') {
        val = item.label
      }
      list.push(<el-option label={item.label} value={val} disabled={item.disabled}></el-option>)
    })
    return list
  }
}
